//
//  BaseWebViewController.swift
//  SwiftLoopers
//
//  Created by MAC on 2017/8/21.
//  Copyright © 2017年 Kevin. All rights reserved.
//

import UIKit
import WebKit

class BaseWebViewController: BaseViewController {

    var url:NSURL!
    var webView:WKWebView!
    var progressViewColor:UIColor!
    
    var customBackBarItem:UIBarButtonItem!
    var closeButtonItem:UIBarButtonItem!
    
    
    
    func initWithUrl(_ url:NSURL?) -> BaseWebViewController {
        self.url = url
        self.progressViewColor = UIColor.init(red: 119.0/255, green: 228.0/255, blue: 115.0/255, alpha: 1)
        return self
    }
    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
